import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /siteDetail/getExcel/{siteId}
 */
export function postSiteDetailGetExcelBySiteId(params: PostSiteDetailGetExcelBySiteIdParams, config?: AxiosRequestConfig) {
    return request.post<DeepRequired<any>>(`/siteDetail/getExcel/${params.siteId}`, config);
}

export interface PostSiteDetailGetExcelBySiteIdParams {
    siteId: number;
}
